DioDocs for PDF
Create(RenderTarget,Nullable<Size2F>) メソッド

GrapeCity.Documents.DX.Windows アセンブリ > GrapeCity.Documents.DX.Direct2D 名前空間 > Layer クラス > Create メソッド : Create(RenderTarget,Nullable<Size2F>) メソッド
an instance of RenderTarget
If (0, 0) is specified, no backing store is created behind the layer resource. The layer resource is allocated to the minimum size when {{PushLayer}} is called.
Creates a layer resource that can be used with this render target and its compatible render targets. The new layer has the specified initial size.
シンタックス
'宣言
 
Public Overloads Shared Function Create( _
   ByVal renderTarget As RenderTarget, _
   ByVal size As System.Nullable(Of Size2F) _
) As Layer
public static Layer Create( 
   RenderTarget renderTarget,
   System.Nullable<Size2F> size
)

パラメータ

renderTarget
an instance of RenderTarget
size
If (0, 0) is specified, no backing store is created behind the layer resource. The layer resource is allocated to the minimum size when {{PushLayer}} is called.
解説
Regardless of whether a size is initially specified, the layer automatically resizes as needed.
参照

Layer クラス
Layer メンバ
オーバーロード一覧